//
//  SEGActivityLotteryDetailModel.h
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/8/15.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SEGActivityLotteryPrizeModel.h"
#import "SEGActivityLotteryUsersModel.h"
#import "SEGActivityLotteryUsersSortModel.h"

/**
 活动抽奖形式(1:砸金蛋,2:大转盘,3:抽红包)
 */
typedef NS_ENUM(NSUInteger, SEGActivityLotteryType) {
    SEGActivityLottery_BreakEggs = 1, /*1:砸金蛋*/
    SEGActivityLottery_Turntable = 2, /*2:大转盘*/
    SEGActivityLottery_RedWallet = 3, /*3:抽红包*/
};

@interface SEGActivityLotteryDetailModel : NSObject

@property (nonatomic, copy) NSArray<SEGActivityLotteryPrizeModel *>* prizes;//奖品信息集合,抽奖形式为2时有此属性
@property (nonatomic, copy) NSArray<SEGActivityLotteryUsersModel *>* lotteryUsers;//最新20位中奖用户信息
@property (nonatomic, copy) NSArray<SEGActivityLotteryUsersSortModel *>* lotteryUsersSort;//排名前十的中奖(奖品价值)用户信息
@property (nonatomic, copy) NSString* lotteryUserNum;//抽奖总人数
@property (nonatomic, copy) NSString* price;//非免费抽奖机会每次消耗积分数量,抽奖活动有此属性
@property (nonatomic, copy) NSString* lotteryType;//抽奖形式(1:砸金蛋,2:大转盘,3:抽红包)
@property (nonatomic, copy) NSString* freeLotterys;//当日剩余免费抽奖次数,抽奖活动有此属性
@property (nonatomic, copy) NSString* lotteryTimes;//当日剩余抽奖总次数,抽奖活动有此属性
@property (nonatomic, copy) NSString* notLotteryPic;//未中奖图片，谢谢参与图片

+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;

@end
